package com.aptemo.webetek.client.events;

import com.google.gwt.event.shared.GwtEvent;

public class BetDeletedEvent
		extends GwtEvent<BetDeletedHandler>
{
	public static final GwtEvent.Type<BetDeletedHandler>	TYPE	= new GwtEvent.Type<BetDeletedHandler>();
	private String											mId;

	public BetDeletedEvent(String id)
	{
		this.mId = id;
	}

	@Override
	protected void dispatch(BetDeletedHandler handler)
	{
		handler.onBetDeleted(mId);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<BetDeletedHandler> getAssociatedType()
	{
		return TYPE;
	}

}
